home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
BISECT.z
/
BISECT
Wrap
Text File
|
1996-03-14
|
6KB
|
133 lines
____BBBBIIIISSSSEEEECCCCTTTT((((3333FFFF)))) ____BBBBIIIISSSSEEEECCCCTTTT((((3333FFFF))))
NNNNAAAAMMMMEEEE
BISECT, SBISECT - EISPACK routine. This subroutine finds those
eigenvalues of a TRIDIAGONAL SYMMETRIC matrix which lie in a specified
interval, using bisection.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee bbbbiiiisssseeeecccctttt((((nnnn,,,,eeeeppppssss1111,,,,dddd,,,,eeee,,,,eeee2222,,,,llllbbbb,,,,uuuubbbb,,,,mmmmmmmm,,,,mmmm,,,,wwww,,,,iiiinnnndddd,,,,iiiieeeerrrrrrrr,,,,rrrrvvvv4444,,,,rrrrvvvv5555))))
iiiinnnntttteeeeggggeeeerrrr nnnn,,,, mmmmmmmm,,,, mmmm,,,, iiiieeeerrrrrrrr
iiiinnnntttteeeeggggeeeerrrr iiiinnnndddd((((mmmmmmmm))))
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn eeeeppppssss1111,,,, llllbbbb,,,, uuuubbbb
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn dddd((((nnnn)))),,,, eeee((((nnnn)))),,,, eeee2222((((nnnn)))),,,, wwww((((mmmmmmmm)))),,,, rrrrvvvv4444((((nnnn)))),,,, rrrrvvvv5555((((nnnn))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssbbbbiiiisssseeeecccctttt((((nnnn,,,,eeeeppppssss1111,,,,dddd,,,,eeee,,,,eeee2222,,,,llllbbbb,,,,uuuubbbb,,,,mmmmmmmm,,,,mmmm,,,,wwww,,,,iiiinnnndddd,,,,iiiieeeerrrrrrrr,,,,rrrrvvvv4444,,,,rrrrvvvv5555))))
iiiinnnntttteeeeggggeeeerrrr nnnn,,,, mmmmmmmm,,,, mmmm,,,, iiiieeeerrrrrrrr
iiiinnnntttteeeeggggeeeerrrr iiiinnnndddd((((mmmmmmmm))))
rrrreeeeaaaallll eeeeppppssss1111,,,, llllbbbb,,,, uuuubbbb
rrrreeeeaaaallll dddd((((nnnn)))),,,, eeee((((nnnn)))),,,, eeee2222((((nnnn)))),,,, wwww((((mmmmmmmm)))),,,, rrrrvvvv4444((((nnnn)))),,,, rrrrvvvv5555((((nnnn))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On INPUT
NNNN is the order of the matrix.
EEEEPPPPSSSS1111 is an absolute error tolerance for the computed eigenvalues. If the
input EPS1 is non-positive, it is reset for each submatrix to a default
value, namely, minus the product of the relative machine precision and
the 1-norm of the submatrix.
DDDD contains the diagonal elements of the input matrix.
EEEE contains the subdiagonal elements of the input matrix in its last N-1
positions. E(1) is arbitrary.
EEEE2222 contains the squares of the corresponding elements of E. E2(1) is
arbitrary.
LLLLBBBB and UB define the interval to be searched for eigenvalues. If LB is
not less than UB, no eigenvalues will be found.
MMMMMMMM should be set to an upper bound for the number of eigenvalues in the
interval. WARNING. If more than MM eigenvalues are determined to lie in
the interval, an error return is made with no eigenvalues found. On
OUTPUT
EEEEPPPPSSSS1111 is unaltered unless it has been reset to its (last) default value.
DDDD and E are unaltered. Elements of E2, corresponding to elements of E
regarded as negligible, have been replaced by zero causing the matrix to
split into a direct sum of submatrices. E2(1) is also set to zero.
PPPPaaaaggggeeee 1111
____BBBBIIIISSSSEEEECCCCTTTT((((3333FFFF)))) ____BBBBIIIISSSSEEEECCCCTTTT((((3333FFFF))))
MMMM is the number of eigenvalues determined to lie in (LB,UB).
WWWW contains the M eigenvalues in ascending order.
IIIINNNNDDDD contains in its first M positions the submatrix indices associated
with the corresponding eigenvalues in W -- 1 for eigenvalues belonging to
the first submatrix from the top, 2 for those belonging to the second
submatrix, etc.
IIIIEEEERRRRRRRR is set to Zero for normal return, 3*N+1 if M exceeds MM.
RRRRVVVV4444 and RV5 are temporary storage arrays. The ALGOL procedure STURMCNT
contained in TRISTURM appears in BISECT in-line. Note that subroutine
TQL1 or IMTQL1 is generally faster than
BBBBIIIISSSSEEEECCCCTTTT , if more than N/4 eigenvalues are to be found. Questions and
comments should be directed to B. S. Garbow, Applied Mathematics
Division, ARGONNE NATIONAL LABORATORY
PPPPaaaaggggeeee 2222